﻿namespace Admin.NET.Core;

/// <summary>
/// 数据连接基础输入参数
/// </summary>
public class DbLinkTestInput
{
    /// <summary>
    /// 连接名称
    /// </summary>
    public virtual string? Name { get; set; }

    /// <summary>
    /// 连接驱动
    /// </summary>
    public virtual string? DBType { get; set; }

    /// <summary>
    /// 主机地址
    /// </summary>
    public virtual string? Host { get; set; }

    /// <summary>
    /// 端口
    /// </summary>
    public virtual int? Port { get; set; }

    /// <summary>
    /// 用户
    /// </summary>
    public virtual string? UserName { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    public virtual string? Password { get; set; }

    /// <summary>
    /// 服务名称
    /// </summary>
    public virtual string? ServiceName { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public virtual string? Remark { get; set; }

    /// <summary>
    /// 模式
    /// </summary>
    public virtual string? DBSchema { get; set; }

    /// <summary>
    /// 表空间
    /// </summary>
    public virtual string? TableSpace { get; set; }

    /// <summary>
    /// oracle连接参数
    /// </summary>
    public virtual string? OracleParam { get; set; }

    /// <summary>
    /// Oracle扩展开关
    /// </summary>
    public virtual bool OracleExtend { get; set; }

    /// <summary>
    /// oracle连接方式.
    /// </summary>
    public virtual string oracleLinkType { get; set; }

    /// <summary>
    /// oracle角色.
    /// </summary>
    public virtual string oracleRole { get; set; }

    /// <summary>
    /// oracle服务名.
    /// </summary>
    public virtual string oracleService { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime? CreateTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public virtual DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 创建者Id
    /// </summary>
    public virtual long? CreateUserId { get; set; }

    /// <summary>
    /// 创建者姓名
    /// </summary>
    public virtual string? CreateUserName { get; set; }

    /// <summary>
    /// 修改者Id
    /// </summary>
    public virtual long? UpdateUserId { get; set; }

    /// <summary>
    /// 修改者姓名
    /// </summary>
    public virtual string? UpdateUserName { get; set; }

    /// <summary>
    /// 创建者部门Id
    /// </summary>
    public virtual long? CreateOrgId { get; set; }

    /// <summary>
    /// 创建者部门名称
    /// </summary>
    public virtual string? CreateOrgName { get; set; }

    /// <summary>
    /// 软删除
    /// </summary>
    public virtual bool IsDelete { get; set; }

    /// <summary>
    /// 租户Id
    /// </summary>
    public virtual long? TenantId { get; set; }
}